package com.example.field.field_common.service;

import com.example.field.field_common.entity.LoginData;
import com.example.field.field_common.mapper.LoginRegisterMapper;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class LoginRegisterServiceImpl implements LoginRegisterService {


    @Resource
    LoginRegisterMapper mapper;


    /**
     * 登录
     */
    @Override
    public LoginData login(String username, String password) {
        return mapper.login(username,password);
    }

}
